/**  
 * @Title:  IMinioFileService.java   
 * @Package com.platform.service   
 * @Description: (用一句话描述该文件做什么)   
 * @author: <a href="mailto:15909910367@163.com">吴先生</a> 
 * @date:   2021年12月13日 下午4:22:55   
 * @version V1.0 
 * @Copyright: 2021 吴先生.
 */
package com.platform.service;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.multipart.MultipartFile;

/**   
 * @ClassName:  IMinioFileService   
 * @Description:(这里用一句话描述这个类的作用)   
 * @author: <a href="mailto:15909910367@163.com">吴先生</a>  
 * @date:   2021年12月13日 下午4:22:55   
 *     
 * @Copyright: 2021 吴元森.  
 */
public interface IMinioFileService {

	public String upload(String bucket, MultipartFile file) throws Exception;
	
	public void download(String bucket, String fileId, HttpServletResponse response) throws Exception;
	
	public String downSaveLocal(String bucket, String fileId, HttpServletResponse response) throws Exception;
	
	public String preview(String bucket,String fileName);
	
	public void delete(String bucket, String fileName) throws Exception;
	
}
